﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleSqlSugarTemplate
{
	[SplitTable(SplitType.Year)]
	[SugarTable("user_table_{year}{month}{day}")]
	public class UserEntity
	{
		[SugarColumn(IsPrimaryKey =true)]
		public long Id { get; set; }
		public string Name { get; set; }
		[SplitField]
		public DateTime CreateTime { get; set; }
	}
}
